<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>测试文件上传与下载</title>
</head>
<body>

<h1>文件上传</h1>
<form action="upload" method="post" enctype="multipart/form-data">
  <label>
    文件名 <input type="text" name="fileName" />
  </label>
  <br>
  <label>
    文件 <input type="file" name="file" />
  </label>
  <br>

  <input type="submit" value="提交" />

</form>

<div style="border: black 1px solid;width: 100%"></div>

<h1>文件下载</h1>
<a href="download?filename=abc.png">下载</a>


</body>
</html>
